package com.junko.admin.configuration;

public interface MyConfig {

	int config_cookie_maxAge = 12960000;

	int config_session_timeout = 30;

	String config_securityKey_idea = "RfcNm2gVr16a/HuzrIh2Xg==";

	String config_password_key = "www.junko.com";

	int config_maxPostSize = 10485760;

	String config_domain_key = "127.0.0.1,localhost";

	/**
	 * mail 配置：邮件服务器地址
	 */
	String config_mail_host = "config.mail.host";

	/**
	 * mail 配置：邮件服务器端口
	 */
	String config_mail_port = "config.mail.port";

	/**
	 * mail 配置：邮件服务器账号
	 */
	String config_mail_from = "config.mail.from";

	/**
	 * mail 配置：邮件服务器名称
	 */
	String config_mail_userName = "config.mail.userName";

	/**
	 * mail 配置：邮件服务器密码
	 */
	String config_mail_password = "config.mail.password";

	/**
	 *  redis 配置：ip
	 */
	String config_redis_ip = "config.redis.ip";

	/**
	 *  redis 配置：port
	 */
	String config_redis_port = "config.redis.port";
	String config_redis_pass = "config.redis.pass";
	/**
	 *  redis 配置：数量
	 */
	String config_redis_count = "redis.count";

	/**
	 * 数据源个数
	 */
	String db_count_key = "db.count";

	/**
	 * 当前数据源名称
	 */
	String db_name_key = "name";

	/**
	 * 当前数据源类型
	 */
	String db_type_key = "type";


	/**
	 * 当前数据库类型：mysql
	 */
	String db_type_mysql = "mysql";


	/**
	 * 数据库连接参数：驱动
	 */
	String db_connection_mysql_driverClass = "mysql.driverClass";
	
	/**
	 * 数据库连接参数：连接URL
	 */
	String db_connection_mysql_jdbcUrl = "mysql.jdbcUrl";
	
	/**
	 * 数据库连接参数：用户名
	 */
	String db_connection_mysql_username = "mysql.username";
	
	/**
	 * 数据库连接参数：密码
	 */
	String db_connection_mysql_password = "mysql.password";

	/**
	 * 数据库连接参数：用户名2
	 */
	String db_connection_mysql_username_2 = "mysql.username2";

	/**
	 * 数据库连接参数：密码2
	 */
	String db_connection_mysql_password_2 = "mysql.password2";


	/**
	 *  主数据源名称：系统主数据源
	 */
	String db_dataSource_main = "db.dataSource.main";
	/**
	 * 短信验证码相关
	 */
    String AUTH_CODE_SEND_TIME = "authCode.send.time";
    String AUTH_CODE_VALID_MINUTES = "authCode.valid.minutes";
}
